package com.sk.coin.sys.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Collections;
import java.util.List;

/**
 * @author: SongKun
 * @date: 2022/3/6
 * @Description: 接收前端用户角色权限信息
 */
@Data
@ApiModel(value = "接收角色和权限数据")
public class RolePrivilegesParam {

    @ApiModelProperty(value = "角色的id")
    private Long roleId;

    @ApiModelProperty(value = "角色的包含的权限")
    private List<Long> privilegeIds = Collections.emptyList();

}
